[SUBJECT]
Description=Checks the browser version
ImageIndex=-1
Folder=Quick JavaScript


[HEAD_TEXT]
;<SCRIPT LANGUAGE="JavaScript">
;<!-- Begin
;function onlyNewbrowsers() {
;browser = (((navigator.appName == "Netscape") &&
;(parseInt(navigator.appVersion) >= `Netscape_Version` )) ||
;((navigator.appName == "Microsoft Internet Explorer") &&
;(parseInt(navigator.appVersion) >= `IE_Version` )))
;if (browser) {
;alert('You are obviously using new Netscape or MSIE.   Older browsers are not allowed to read this.....')}
;else {}
;}
;// End -->
;</SCRIPT>
;


[BODY_TEXT]
;<CENTER>
;<FORM ACTION="" onSubmit="onlyNewbrowsers()">
;<input type="submit" Value="New Browsers Only Script">
;</FORM>
;</CENTER>



[`Netscape_Version`]
Kind=S
Value=3


[`IE_version`]
Kind=S
Value=4


